package com.keta.foundation.service;

import java.util.List;

import com.keta.foundation.entity.Role;
import com.keta.foundation.entity.User;
import com.keta.foundation.entity.UserRole;

public interface UserRoleService {

	UserRole get(Long id);

	void save(UserRole userRole);

	void delete(UserRole userRole);

	List<UserRole> getUserRole(User user);

	void delByRole(Long roleId);

	void delByUser(Long userId);

	void delByRole(Role role);

	void delByUser(User user);
}
